<#setting number_format="0">
﻿<li style="display:none;"><input id="totalCount-hide" type="hidden" value="${totalCount}" /></li>
<#if (list? size = 0)>
<li><span class="text1">未能查询出客户信息</span></li>
<#else>
<#list list as item>
	<li id="${item.id}" class="company-employees-list">
		<div class="company-employees-list-content">
			<ul>
				<li>
                  <input name="list-item-ckeck" type="checkbox" value="${item.custId}" /> <span class="text13"> <a href="/cust/profile.acs?id=${item.custId}&fromtype=1">${item.comName!"无所属公司"}&nbsp;</a> </span>
                </li>
				<li>
					<div class="upleader">
						<span class="text1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;联&nbsp;&nbsp;系&nbsp;&nbsp;人：</span>
					</div>
					<div class="upleader" style="width: 100px;">
						<span class="text1">${item.contact!}&nbsp;</span>
					</div>
					<div class="upleader">
						<span class="text1">手机号码：</span>
					</div>
					<div class="upleader" style="width: 100px;">
						<span class="text1">${item.mobile!}&nbsp;</span>
					</div>
					<div class="upleader">
						<span class="text1">跟踪进程：</span>
					</div>
					<div class="upleader" style="width: 100px;">
						<span class="text1">${item.saleState!}&nbsp;</span>
					</div>
				</li>
				<li>
					<div class="upleader">
						<span class="text1">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;客户级别：</span>
					</div>
			
					<div class="upleader">
						<#if (item.quality! >=1)>
						  <img tip="${item.quality!0}级客户" src="../imgs/icon43.png" />
						<#else>   
						  <img src="../imgs/icon44.png" />
						</#if>
					</div>
					<div class="upleader">
						<#if (item.quality! >=2) >   
						  <img tip="${item.quality!0}级客户" src="../imgs/icon43.png" />
						<#else>   
						  <img src="../imgs/icon44.png" />
						</#if>
					</div>
					<div class="upleader">
						<#if (item.quality! >= 3)>   
						  <img tip="${item.quality!0}级客户" src="../imgs/icon43.png" />
						<#else>   
						  <img src="../imgs/icon44.png" />
						</#if>
					</div>
					<div class="upleader">
						<#if (item.quality! >= 4)>   
						  <img tip="${item.quality!0}级客户" src="../imgs/icon43.png" />
						<#else>   
						  <img src="../imgs/icon44.png" />
						</#if>
					</div>
					<div class="upleader">
						<#if (item.quality! >= 5)>
						  <img tip="${item.quality!0}级客户" src="../imgs/icon43.png" />
						<#else>
						  <img src="../imgs/icon44.png" />
						</#if>
					</div>
					<div class="upleader">
						<span class="text1">&nbsp;&nbsp;&nbsp;&nbsp;意&nbsp;&nbsp;向&nbsp;&nbsp;度：</span>
					</div>
					<div class="upleader" style="width: 60px;">
						<span class="text1">${item.custState!}&nbsp;</span>
					</div>
					<div class="upleader">
						<span class="text1">&nbsp;&nbsp;&nbsp;&nbsp;最近联系日期：${item.conTime!}&nbsp;</span>
					</div>
				</li>
			</ul>
		</div>
		<div class="company-userinfo-list-button"> <img src="../imgs/icon47.png" tip="添加跟踪信息" name="addTrackInfo" hover-data="${item.custId}" /> </div>
        <div class="company-userinfo-list-button"> <img src="../imgs/icon45.png" tip="分配客户" name="distribution" hover-data="${item.custId}" /> </div>
		<div class="company-userinfo-list-button"> <img src="../imgs/icon48.png" tip="单拨客户" name="callOne" hover-data="${item.custId}"  /> </div>
        <div class="company-userinfo-list-button"> <img src="../imgs/icon46.png" tip="删除客户" name="delCust" hover-data="${item.custId}" /> </div>
        <div class="company-employees-list-note">
			<div id="remark-${item.id}" class="company-employees-list-remark">
				<div class="company-employees-list-title">
					<span class="text15">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;备注：</span>
				</div>
				<div class="company-employees-list-content">
					<span id="list-remark-txt-${item.id}"class="text15">${item.remark!}</span>
				</div>
				<div class="company-userinfo-list-button">
					<img class="list-toedit-btn" ref="${item.id!}"  src="../imgs/icon36.png" tip="编辑"/>
				</div>
			</div>
			<div id="edit-${item.id!}" class="company-userinfo-list-edit" style="display: none;">
				<div class="company-userinfo-list-edit-title">
					<span class="text1"><strong>&nbsp;&nbsp;备注</strong> </span>
					<div class="company-userinfo-list-edit-close">
						<img class="edit-cancel-btn" ref="${item.id!}" src="../imgs/icon29.png" />
					</div>
				</div>
				<div class="company-userinfo-list-edit-input">
					<textarea id="edit-textarea-${item.id!}" class="input2"
						style="width: 592px; height: 100px;" cols="" rows="20"></textarea>
				</div>
				<div class="company-userinfo-list-edit-text">
					<div class="company-userinfo-list-edit-button">
						<img class="edit-save-btn" ref="${item.id!}" src="../imgs/button-save.png" />
					</div>
					<div class="company-userinfo-list-edit-button">
						<span class="text1"><a href="#" class="edit-cancel-btn" ref="${item.id!}">取消</a>&nbsp;&nbsp;&nbsp;&nbsp;</span>
					</div>
				</div>
			</div>
		</div>
	</li>
</#list>
</#if>